<?php
require_once("../../classes/User.php");

$user = new User;
$user->createUser($_POST['fname'],$_POST['lname'],$_POST['email'],$_POST['pass'],$_POST['gender']);

header('location: ../../index.php');

?>